package com.bestcem.xm.user.service.dto.group;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author Linked <zhijian.lin@idiaoyan.com>
 * @version v1.0
 * @date 2022/2/8 16:10
 */

@Data
public class MoveUserGroupDTO {

    @NotBlank(message = "组织id缺失")
    private String groupId;

    @NotBlank(message = "目标组织id缺失")
    private String targetGroupId;

    /**
     * up: 上移
     * down：下移
     */
    @NotBlank(message = "参数缺失")
    private String opt;

    @NotBlank(message = "版本号id缺失")
    private Integer versionId;
}
